package com.ideaaedi.zoo.diy.feature.msg.email.impl.jakarta.properties.nested;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.autoconfigure.mail.MailProperties;

/**
 * (non-javadoc)
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img
 * src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class JakartaMailSenderProperties extends MailProperties {
    
    /**
     * 邮件发送器id
     */
    @NotBlank(message = "mail sender id cannot be blank.")
    private String id;
    
    /**
     * 默认发件人邮箱
     */
    private String defaultFrom;
}
